Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly mapping returned custom fields from search results to their … #134

Merged
merged 1 commit into from
Sep 3, 2021
Merged

Properly mapping returned custom fields from search results to their … #134

merged 1 commit into from
Sep 3, 2021

Conversation

ryanduffing
Copy link

@ryanduffing ryanduffing commented Aug 16, 2021

These are the changes I've outlined in Issue: #133

To summarize:

Custom fields are not being mapped properly when pulling from the returned set of search results. Complex objects don't come back at all and result in the error: Unable to cast object of type 'Newtonsoft.Json.Linq.JObject' to type 'Newtonsoft.Json.Linq.JValue. Because of this it requires developers using the library to map these custom fields on their own.

This PR will fix this and send the custom fields on the Customs dictionary as their original type.

@ryanduffing
Copy link
Author

@otanum or @lonnkvist

Is this project dead, or are there plans to merge in the older PRs and continue maintenance? I see that some PRs haven't been touched in a while, and the last commit was in March of 2021.

This project is a wonderful alternative to Episerver Find and has been wonderful to work with and I'd like to see it have continued maintenance and updates.

@otanum
Copy link
Contributor

otanum commented Aug 21, 2021

@otanum or @lonnkvist

Is this project dead, or are there plans to merge in the older PRs and continue maintenance? I see that some PRs haven't been touched in a while, and the last commit was in March of 2021.

This project is a wonderful alternative to Episerver Find and has been wonderful to work with and I'd like to see it have continued maintenance and updates.

Project is far from dead. I have been really busy lately. I need to test these changes carefully.

One option is to create a release branch. Release branches create prerelease nugets.

@ryanduffing
Copy link
Author

ryanduffing commented Aug 23, 2021

@otanum Do I create a release branch on my fork (since I'm not a contributor here), create a PR for it to this repo, and then a prerelease nuget will get created?

If so, I can do that and close this PR.

@otanum otanum changed the base branch from master to Release/mapping-custom-fields-to-types September 3, 2021 08:24
@otanum otanum merged commit 4b4e749 into Epinova:Release/mapping-custom-fields-to-types Sep 3, 2021
@otanum
Copy link
Contributor

otanum commented Sep 3, 2021

@ryanduffing 11.7.3.151-pre

@ryanduffing
Copy link
Author

@otanum Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants